from django.contrib import admin
from .models import *


# 注册商品分类模型到后台
@admin.register(GoodsCategory)
class AdminGoodsCategory(admin.ModelAdmin):
    pass


# 注册一级分类下的推荐品牌模型到后台
@admin.register(GoodsCategoryBrand)
class AdminGoodsCategoryBrand(admin.ModelAdmin):
    pass


# 注册商品模型到后台
@admin.register(Goods)
class AdminGoods(admin.ModelAdmin):
    pass


# 注册商品图片模型到后台
@admin.register(GoodsImage)
class AdminGoodsImage(admin.ModelAdmin):
    pass


